package com.ea.admin.pojo.vo.company;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CompanyVo {
    @ApiModelProperty("单位的id-主键")
    private String companyId;

    @ApiModelProperty("单位名称")
    private String companyName;

    @ApiModelProperty("单位的上级单位id")
    private String supCompanyId;

    @ApiModelProperty("单位的上级单位名称")
    private String supCompanyName;

    @ApiModelProperty("下级单位列表")
    List<CompanyVo> subCompanyVoList;

    @ApiModelProperty("单位联系人id")
    private String contactAdminId;

    @ApiModelProperty("单位联系人名称")
    private String contactAdminName;

    @ApiModelProperty("单位联系人电话")
    private String contactAdminPhoneNum;
}
